﻿<!--
Author: Christoph van der Fecht
CodePlex: http://www.codeplex.com/site/users/view/ChristophvdF

Copyright(c) Christoph van der Fecht
-->
<Window x:Class="SerienNewsReader.Options"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        Height="135" 
        Width="480"
        ShowInTaskbar="False"
        DataContext="{Binding Options, Source={StaticResource Locator}}">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="34*" />
            <RowDefinition Height="62*" />
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal" 
                    Grid.Row="0">
            <TextBlock Text="Series:" 
                       Margin="5"/>
            <TextBox Margin="5" 
                     Width="365"
                     Text="{Binding Path=Series, Mode=TwoWay}"/>
        </StackPanel>
        <StackPanel Orientation="Horizontal" Grid.Row="1">
            <Button x:Name="buttonCancel" 
                    Content="Cancel" 
                    Margin="345,10,10,10" 
                    Click="buttonCancel_Click" 
                    Width="45" 
                    Height="30"/>
            <Button Content="Save" 
                    Margin="5,10,10,10" 
                    Width="45" 
                    Height="30" 
                    Command="{Binding Path=SaveSettingsCommand}"/>
        </StackPanel>
    </Grid>
</Window>
